home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
2207
/
2207.xpi
/
chrome
/
cooliris.jar
/
content
/
cooliris
/
coolirisOverlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-27
|
7KB
|
134 lines
<?xml version="1.0"?>
<!DOCTYPE window SYSTEM "chrome://cooliris/locale/cooliris.dtd">
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://cooliris/skin/cooliris.css" type="text/css"?>
<?xml-stylesheet href="chrome://cooliris/skin/workaroundForBug427181.css" type="text/css"?>
<overlay id="coolirisOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml">
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisSiteManager.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/utils.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/xmlhttpNew.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisStats.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisOverlay.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisPagePreviews.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisImagePreviews.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisNodeType.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisFramePanel.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/webcontrol.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisStackHandler.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisHighlightManager.js"/>
<script type="application/x-javascript" src="chrome://cooliris/content/coolirisSearchBar.js"/>
<!--<menupopup id="viewSidebarMenu">
<menuitem key="key_openEmptySidebar" observes="viewCoolPreviewsSidebar"/>
</menupopup> -->
<keyset id="mainKeyset">
<!--<key id="key_openEmptySidebar" command="viewCoolPreviewsSidebar" key="C" modifiers="shift accel"/>-->
<key id="key_increase" key="+" modifiers="accel shift"/>
<key id="key_decrease" key="-" modifiers="accel shift"/>
<key id="key_reset" key="9" modifiers="accel shift"/>
<key id="key_autofit" key="8" modifiers="accel shift"/>
</keyset>
<!--<broadcasterset id="mainBroadcasterSet">
<broadcaster id="viewCoolPreviewsSidebar"
label="CoolPreviews"
autoCheck="false"
type="checkbox"
group="sidebar"
sidebarurl="chrome://cooliris/content/cpvwSearch/coolpreviewsSidebar.xul"
sidebartitle="CoolPreviews"
oncommand="toggleSidebar('viewCoolPreviewsSidebar');"/>
</broadcasterset>-->
<vbox style="visibility:hidden;">
<browser type="content" disablehistory="true" flex="1" id="cpvw_backFrame" src="http://www.google.com"/>
</vbox>
<window id="main-window">
<popupset id="mainPopupSet">
<popup id="cooliris_zoom_popup" position="after_start" onpopupshown="cpvw_previewHandler.onZoomOpen();" onpopuphidden="cpvw_previewHandler.zoomTimer = setTimeout(function(){cpvw_previewHandler.dragActive = false;}, 600);">
<menuitem label="Zoom In" class="menuitem-iconic" key="key_increase" oncommand="cpvw_previewHandler.doZoom('increase');"/>
<menuitem label="Zoom Out" class="menuitem-iconic" key="key_decrease" oncommand="cpvw_previewHandler.doZoom('decrease');"/>
<separator class="groove"/>
<menuitem label="Reset" class="menuitem-iconic" key="key_reset" oncommand="cpvw_previewHandler.doZoom('reset');"/>
<menuitem label="AutoFit" id="cooliris_zoom_autoFit" key="key_autofit" class="menuitem-iconic" oncommand="cpvw_previewHandler.doZoom('autofit');" type="checkbox"/>
<separator class="groove"/>
<menuitem label="Zoom Text Only" key="" id="cooliris_zoom_Text" type="checkbox" class="menuitem-iconic" oncommand="cpvw_previewHandler.doZoom('textZoom');"/>
</popup>
<popup id="cooliris_rightclick" position="after_start" onpopupshown="cpvw_highlightManager.setContextMenuItems()" onmouseover="cpvw_highlightManager.initShowMenu();" onmouseout="cpvw_highlightManager.initHideMenu();" onpopuphidden=""/>
<popup id="cooliris_subSearchMenu" position="after_start"/>
</popupset>
<vbox class="cooliris-binding" skin="default" id="cooliris-preview-overlay" hidden="true" onmouseover="cpvw_previewHandler.mouseOver(event);" onmouseout="cpvw_previewHandler.mouseOut(event);"/>
<vbox id="cooliris_animFrame" style="position:fixed;display:none;left:250px;top:250px;width:1000px;height:100px;z-index:0">
<stack id="cooliris_animFrame_stack">
</stack>
</vbox>
<vbox id="cooliris_hidFrames" style="position:fixed;left:10000px;top:20000px;width:0px;height:0px;z-index:0">
</vbox>
<vbox id="cooliris_stackIcon" hidden="true" onmouseover="cpvw_stackManager.onStackMouseover();" onmouseout="cpvw_stackManager.onStackMouseout();">
</vbox>
<vbox id="cooliris_canvasHolder" hidden="true" context="cooliris_stackContextMenu" onmouseover="cpvw_stackManager.onStackMouseover();" onmouseout="cpvw_stackManager.onStackMouseout();">
</vbox>
<popup id="cooliris_stackContextMenu">
<menuitem id="cooliris_stactContextMenuItem_remove"
label="Remove"
oncommand="cpvw_stackManager.removeFromStack();"/>
</popup>
</window>
<popup id="contentAreaContextMenu">
<menuitem id="coolirisSend" image="chrome://cooliris/skin/new/cooliris-icon.gif" value="0" label="CoolPreviews - Send link" oncommand="CoolirisFramePanel.sendDirectly(event);" insertafter="context-sep-preview"/>
<menuitem id="coolirisAddStack" image="chrome://cooliris/skin/new/cooliris-icon.gif" value="0" label="CoolPreviews - Add To Stack" oncommand="cpvw_previewHandler.addToStack('link');" insertafter="context-sep-preview"/>
<menu id="coolirisSearch" image="chrome://cooliris/skin/new/cooliris-icon.gif" label="CoolPreviews Search">
<menupopup id="coolirisSearchPopup" onpopupshowing="cpvw_Prefs.setCMenuItems();">
</menupopup>
</menu>
</popup>
<statusbar id="status-bar">
<!--<tooltip id="coolPreviews_status_tooltip" orient="vertical" style="background-color: #33DD00;">
<label value="Click to turn CoolPreviews on/off"/>
<label value="Right-click to change user preferences"/>
</tooltip>
<statusbarpanel id="preview-status" context="cooliris_status_menu" onclick="if (event.button == 0){ cpvw_Prefs.togglePreviewSite(event); }">
<image tooltip="coolPreviews_status_tooltip" id="preview-status-image" src="chrome://cooliris/skin/new/previews-on.png"/>
</statusbarpanel>
<popupset>
<popup id="cooliris_status_menu" position="before_end">
<menuitem tooltiptext="User Preferences" label="User Preferences" oncommand="cpvw_Prefs.showPrefDialog(event);"/>
</popup>
</popupset>
-->
<statusbarpanel id="preview-status" context="cooliris_status_menu" status="previewsOnSite" onclick="cpvw_Prefs.showStatusMenu();">
<image tooltip="coolPreviews_status_tooltip" id="preview-status-image" src="chrome://cooliris/skin/new/previews-on.png"/>
</statusbarpanel>
<popupset>
<popup id="cooliris_status_menu" position="before_end">
</popup>
</popupset>
</statusbar>
</overlay>